﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;

namespace BasePlatformCommon.devChain
{
	[JsonObject(MemberSerialization.OptIn)]
    public class ChainStatus : JsonClassBase<ChainStatus>
	{
		[JsonProperty]
		public int SubTotalNum = 0;

		[JsonProperty]
		public int SubConnectNum = 0;

		[JsonProperty]
		public int LampTotalNum = 0;

		[JsonProperty]
		public int LampErrorNum = 0;

		[JsonProperty]
		public string ErrorType = "0";

		[JsonProperty]
		public string ErrorTime = "";

		[JsonProperty]
		public string MainControlStatus = "0";

		[JsonProperty]
        public string MainControlConnected = "0";

        [JsonProperty]
        public int SubErrorNum = 0;

        [JsonProperty]
        public List<SubFaultDetail> FaultDetails;
	}
}
